package com.cai.service;

import com.cai.entity.PageResult;
import com.cai.entity.QueryPageBean;
import com.cai.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService {
    //添加套餐
    public void add(Setmeal setmeal, Integer[] checkgroupIds);

    //分页查询
    public PageResult pageQuery(QueryPageBean queryPageBean);

    //查询所有套餐信息
    public List<Setmeal> findAll();

    //根据id查询套餐信息
    public Setmeal findById(Integer id);
    //查询套餐统计信息
    public List<Map<String, Object>> findCountSetmeal();

    //页面端查询所有套餐信息(性别不同
    public List<Setmeal> findAllSetmeal();
}
